package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-03-12 17:39
 */
@Builder
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PortfolioFundTrade extends BaseDomain {
    private Long pftPortfolioFundTradeId;

    private Long pftPortfolioTradeId;

    private String pftFundCode;

    private String pftFundName;

    private BigDecimal pftFundCurrentShare;

    private BigDecimal pftFundEnableShare;

    private BigDecimal pftFundWorthValue;

    private BigDecimal pftFundTodayIncome;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pftNetValueDate;

    private BigDecimal pftNetValue;

    private BigDecimal pftLastdayNetValue;

    private BigDecimal pftDailyProfit;

    private BigDecimal pftTodayIncomeRate;

    private Boolean pftIsCurrency;

    private String pftAssetType;

    private BigDecimal pftAccumIncome;

    private BigDecimal pftUnpaidIncome;

    private BigDecimal pftShareIncome;

    private String pftTradeAccount;

    private BigDecimal pftFundCost;

    private BigDecimal pftFundInvestRate;

    private Boolean pftAutoBuy;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pftEffectTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pftCreateDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pftUpdateDate;

    private static final long serialVersionUID = 1L;
}